﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucTopic.ascx.cs" Inherits="PromotionApp.UserControl.ucTopic" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
  <ContentTemplate>
    <table class="postBox" cellpadding="0" cellspacing="0" width="100%" >
      <tr >
        <td class="headPostToppic" valign="top" align="left"><asp:Label ID="lblTopic" runat="server" Text="lblTopic"></asp:Label></td>
      </tr>
      <tr>
        <td valign="top" align="left"><table class="titlePost" border="0" width="100%" cellpadding="0" cellspacing="0">
            <tr>
              <td valign="top" align="left"><asp:Label ID="lblMessage" runat="server" Text="lblMessage"></asp:Label></td>
            </tr>
            <tr id="trImage" runat="server">
              <td valign="middle" align="left"><table border="0" width="100%" cellpadding="0" cellspacing="0">
                  <tr>
                    <td valign="top" align="center"><asp:Image ID="imgReply" runat="server" /></td>
                  </tr>
                </table></td>
            </tr>
            <tr>
              <td class="postBy" rowspan="2" align="left" valign="top"><table border="0" width="100%" cellpadding="0" cellspacing="0">
                  <tr>
                    <td align="left" valign="top"><span class="from">Posted by</span> <span class="byName">
                      <asp:Label ID="lblPostedBy" runat="server" Text="lblPostedBy"></asp:Label>
                      </span></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top"><span class="date">Posted on</span> <span class="byDate">
                      <asp:Label ID="lblPostedDate" runat="server" Text="lblPostedDate"></asp:Label>
                      </span></td>
                  </tr>
                </table></td>
            </tr>
          <table class="titlePost" border="0" width="100%" cellpadding="0" cellspacing="0">
            <tr id="trStatus" class="trStatus" runat="server">
              <td valign="top" align="left" width="70px"><span class="status"><b>Status</b></span></td>
              <td valign="top" align="left" style="display:none"><asp:Label ID="lblStatusDesc" runat="server" Text="lblStatusDesc"></asp:Label></td>
              <td valign="top" align="left" width="815px"><asp:Button ID="btnAction" runat="server" Text="" OnClick="btnAction_Click" /></td>
              <td valign="top" align="left" width="80px"><asp:Button ID="btnDelete" CssClass="btnDelete" ToolTip="Delete" runat="server" Text="" OnClick="btnDelete_Click" OnClientClick="return confirm('Are you suce to want to delete this topic ?')" /></td>
                      </tr>
                    </table></td>
                </tr>
              </table></td>
          </tr>
        </table>
  </ContentTemplate>
</asp:UpdatePanel>